﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0623
{
    /// <summary>
    ///  更新店铺简介
    /// </summary>
    public class InputStoreInfo
    {
        /// <summary>
        ///  店铺（导航）id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "店铺目录folder_id")]//大于0正则表达式
        public int folder_id { get; set; }
        /// <summary>
        ///  服务类别
        /// </summary>
        [Required(ErrorMessage = "bs_type：服务类别必传项！")]
        public string bs_type { get; set; }
        /// <summary>
        ///  店铺简介
        /// </summary>
        [Required(ErrorMessage = "bs_note：店铺简介必传项！")]
        public string bs_note { get; set; }
        /// <summary>
        ///  启用合伙人
        /// </summary>
        public bool statr_partner { get; set; }
        /// <summary>
        ///  商品排序方式 【3=修改时间降序、4=创建时间降序、5=序号降序、6=序号升序】
        /// </summary>
        public int fileSortType { get; set; } = 3;
    }
}